package org.example.demo3.demos.web.Mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.example.demo3.demos.web.entity.User;

public interface UserMapper extends BaseMapper<User> {
    @Update("update user set password = password + #{money} where id = #{id}")
    void MinuteYeSelf(@Param("id") String id,@Param("money") int money);
}
